package com.hevs.samplewebapp.server.dao;

import java.util.HashMap;
import java.util.Map;


/**
 * 
 * @author Arnaud Durand
 * creation : 20.03.12
 * 
 * Goal :
 * Abstract class for DAO mocks using generics. All DAO mocks should extends this class.
 *
 */
public abstract class GenericDAOMock<MockableEntity> {

	private Map<String, MockableEntity> datas = new HashMap<String, MockableEntity>();

	protected long seed = 1;
	
	public Map<String, MockableEntity> getDatas() {
		return datas;
	}
	
	public void setDatas(Map<String, MockableEntity> datas) {
		this.datas = datas;
	}
	
	protected void populate(MockableEntity data){
		
	}
	
	/*
	public List<MockableEntity> getAll(){
		
	}
	
	public void add(List<MockableEntity> datas){
		
	}
	
	public void update(MockableEntity data){
		
	}
	
	public void remove(MockableEntity data){
		
	}
	*/
    
    
}
